#include "patientList.h"
#include "ui_patientList.h"


patientList::patientList(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::patientList)
{
    ui->setupUi(this);
    patientsListShow();
}

patientList::~patientList()
{
    delete ui;
}

void patientList::patientsListShow()
{
    TableShow *ts = new TableShow(this);
    ts->patientData();
    ui->patientLayout->addWidget(ts);
}
